package liwen.zhao.mappers;

import liwen.zhao.common.jd.pojo.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleMapper {
    int addArticle(Article article);
    
    List<Article> selectArticleByPage(@Param("start") int start, @Param("rows") int rows);
    
    Article getArticleById(String id);
}
